using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using Microsoft.AceEngineering.SPM.SPMCustomDataEntity;
using Microsoft.AceEngineering.SPM.SPMDataLayer;

namespace Microsoft.AceEngineering.SPM.SPMBusinessLayer
{
    public class SearchBL
    {
        public static List<SearchDataListCDE> GetAppList(string attributes, string appName, int threshold, int orgid, int startIndex, int noOfrows, string sortExp, string sort)
        {
            return SearchDL.GetAppSearchList(attributes, appName, threshold, orgid, startIndex, noOfrows, sortExp);
        }

        public static int GetAppListCount(string attributes, string appName, int threshold, int orgid, string sortExp)
        {
            return SearchDL.GetAppSearchListCount(attributes, appName, threshold, orgid);
        }

        public static List<AssesmentCDE> GetAssesmentReport(int AppID)
        {
            return SearchDL.GetAssesment(AppID);
        }

        public static ArrayList GetAttributes()
        {
            return SearchDL.GetAttributes();
        }

        public static ArrayList GetThresholdScores()
        {
            return SearchDL.GetScoreThresholds();
        }
        public static ArrayList GetOrganizationsDDL()
        {
            return SearchDL.GetOrganizations();
        }

    }
}
